package com.example.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * TODO
 *
 * @author ding
 * @since 2024/7/12
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("user_role")
public class UserAndRole {

    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer userId;
    private Integer roleId;

}
